using System.Collections.Generic;

namespace MirrorMirror
{
    public static class IntExtensions
    {
        public static IEnumerable<int> To(this int self, int to)
        {
            for (var i = self; i < to; i++)
                yield return i;
        }
    }
}